<?php

namespace app\admin\model\steward;

use app\common\traits\ModelCurd;
use think\Model;

class Category extends Model
{
    use ModelCurd;
    protected $table = 'cp_apps_category';
    protected $json = ["more"];

    public function getMoreAttr($value,$data){
        if($value){
            return json_decode( json_encode( $value),true);
        }
    }

}